package cn.itcast.service.cargo;

import cn.itcast.domain.cargo.Packing;
import cn.itcast.domain.cargo.PackingExample;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface PackingService {
    PageInfo findAll(int page, int size, PackingExample packingExample);

    Packing findById(String id);

    List<Packing> findAll(PackingExample example);

    Integer save(Packing packing, String id);

    void update(Packing packing);

    void delete(String id);
}
